
<div class="wrapMain">




	<div id="row">
		    <div class="col-md-8"> 
       <?php 
    	$title="";
		if(isset($_GET['ext'])){
			
			 switch($_GET['ext']){
			 	case 'date': $title='Mới Đăng ';break;
				case 'views': $title='Xem Nhiều ';  break;
				case 'comments': $title='Comment ';  break;
				case 'likes': $title='Likes '; break;
				case 'sochuong': $title='Nhiều Chương ';  break;
				case 'hoanthanh': $title=' Truyện Full ';break;
			 }
		}
		?>
		
                    	<ul class="breadcrumb-arrow">
                         <li><a href="<?php echo HOME; ?>"><i class="fa fa-home"></i></a></li>
                 		  <li><a href="<?php echo HOME; ?>truyen"> Truyện</a></li>
                          <?php if($title!=""){ echo "  <li class='active'><a href='".HOME."truyen/".$_GET['ext']."'>$title</a></li>";	  }?>
                     </ul>
                    
                  


        
        <div class="row">
   			  <?php echo $data['nav']; ?>
              <?php $bu=HOME.'truyen/';
			  	$bu2=HOME.'truyen';
			   ?>
                      <div class="btn-group pull-right">
  <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown">
   Lọc Truyện <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" role="menu">
    <li><a href="<?php echo $bu2 ?>">Mới Cập Nhật</a></li>
    <li><a href="<?php echo $bu ?>date">Mới Đăng</a></li>
    <li><a href="<?php echo $bu ?>views">View</a></li>
    <li><a href="<?php echo $bu ?>likes">Like</a></li>
     <li><a href="<?php echo $bu ?>comments">Comment</a></li>
    <li><a href="<?php echo $bu ?>sochuong">Số Chương</a></li>
    <li><a href="<?php echo $bu ?>hoanthanh">Hoàn Thành</a></li>
   
  </ul>
</div>
  		 </div> <!-- End of Row -->
        <div style="height:15px"></div>
        <?php  render_item_truyenngan($data['info'],1); ?>
 	  	<?php // echo $data['nav']; ?>
      
      
		


</div> <!-- COL MD 9 -->
  
                    <div class="col-md-4">
							  <?php   render_fanpage(); ?>
<!-- START Render TRUYEN category -->	<?php truyen_render_theloai(); ?>	
<!-- START Render TRUYEN View -->	<?php truyen_render_view(); ?>	
<!-- START RENDER video comment --> <?php render_pick(); ?> <!-- End RENDER video comment --> 
<!-- START RENDER video Xem Nhieu -->     <?php //blog_render_view(); ?>   <!-- end video xem nhieu -->
<!-- START RENDER video Xem Nhieu -->     <?php	truyen_render_right_comment(); ?>   <!-- end video xem nhieu -->
                	</div> <!-- End col -md -4 right -->

	
	</div><!-- end row -->
</div><!-- end wrapMain -->
<div class="clearfix"></div>